package com.wonder.app.domain;

import cn.hutool.core.date.DateTime;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @Description:TODO(生产订单实体类)
 *
 * @author: Wonder
 *
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_sfc_operp")
@ApiModel(value="t_sfc_operp对象", description="生产订单表")
public class SfcOperp extends Model<SfcOperp> {
    @TableId(value ="id", type = IdType.AUTO)
    @ApiModelProperty(name = "id" , value = "编号")
    private Long id;

    @TableField(value = "Fid")
    @ApiModelProperty(name = "Fid" , value = "金蝶内码")
    private Long Fid;

    @TableField(value = "BillNo")
    @ApiModelProperty(name = "BillNo" , value = "订单编号")
    private String BillNo;

    @TableField(value = "SyncNo")
    @ApiModelProperty(name = "SyncNo" , value = "同步单号")
    private String SyncNo;

    @TableField(value = "Type")
    @ApiModelProperty(name = "Type" , value = "单据类型")
    private String Type;

    @TableField(value = "OrderTime")
    @ApiModelProperty(name = "OrderTime" , value = "单据日期")
    private Date OrderTime;


    @TableField(value = "CreateTime")
    @ApiModelProperty(name = "CreateTime" , value = "创建时间")
    private Date CreateTime;

    @TableField(value = "Remark")
    @ApiModelProperty(name = "Remark" , value = "备注")
    private String Remark;

    @TableField(value = "DepartName")
    @ApiModelProperty(name = "DepartName" , value = "生产车间")
    private String DepartName;

}
